import mongoose from 'mongoose';

const Schema = mongoose.Schema;
const ResourceSchema = new Schema({
  type: String,
  resources: {
    type: Array,
    required: [false, ''],
  },
});

const Resource = mongoose.model('resources', ResourceSchema);

export default Resource;
